/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.TuyenTau_DAO;
import DTO.TuyenTau_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class TuyenTau_BUS {
    
    public static String Get_MaTT() throws SQLException{
        return TuyenTau_DAO.Get_MaTT();
    }
    public static ArrayList<TuyenTau_DTO> GetALL(){
        return TuyenTau_DAO.GetALL();
    }
    public static boolean Insert(TuyenTau_DTO TuyenTau){
        return TuyenTau_DAO.Insert(TuyenTau);
    }
    public static boolean Update(TuyenTau_DTO TuyenTau){
        return TuyenTau_DAO.Update(TuyenTau);
    }
    public static boolean Delete(String MaTT){
        return TuyenTau_DAO.Delete(MaTT);
    }
}
